package au.com.handsunited.model;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;


/**
 *
 * @author arunda
 * Date: 17/12/2006
 * Time: 13:16:03
 */
public class ContactInfo {

	private String name;
	private String emailAddress;
	private String homePhone;
	private String workPhone;
	private String mobilePhone;
	private String faxNumber;
	private String website;

	private Address address;


	private static Logger logger = LoggerFactory.getLogger(ContactInfo.class);


	/**
	 *
	 */
	public ContactInfo() {
		super();
		address = new Address();
	}


	/**
	 * @param emailAddress
	 * @param homePhone
	 * @param workPhone
	 * @param mobilePhone
	 * @param faxNumber
	 * @param website
	 */
	public ContactInfo(String name, String emailAddress, String homePhone, String workPhone,
			String mobilePhone, String faxNumber, String website) {

		this();
		this.name = name;
		this.emailAddress = emailAddress;
		this.homePhone = homePhone;
		this.workPhone = workPhone;
		this.mobilePhone = mobilePhone;
		this.faxNumber = faxNumber;
		this.website = website;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}


	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return the emailAddress
	 */
	public String getEmailAddress() {
		return emailAddress;
	}

	/**
	 * @param emailAddress the emailAddress to set
	 */
	public void setEmailAddress(String emailAddress) {
		this.emailAddress = emailAddress;
	}

	/**
	 * @return the faxNumber
	 */
	public String getFaxNumber() {
		return faxNumber;
	}

	/**
	 * @param faxNumber the faxNumber to set
	 */
	public void setFaxNumber(String faxNumber) {
		this.faxNumber = faxNumber;
	}

	/**
	 * @return the homePhone
	 */
	public String getHomePhone() {
		return homePhone;
	}

	/**
	 * @param homePhone the homePhone to set
	 */
	public void setHomePhone(String homePhone) {
		this.homePhone = homePhone;
	}

	/**
	 * @return the mobilePhone
	 */
	public String getMobilePhone() {
		return mobilePhone;
	}

	/**
	 * @param mobilePhone the mobilePhone to set
	 */
	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	/**
	 * @return the website
	 */
	public String getWebsite() {
		return website;
	}

	/**
	 * @param website the website to set
	 */
	public void setWebsite(String website) {
		this.website = website;
	}

	/**
	 * @return the workPhone
	 */
	public String getWorkPhone() {
		return workPhone;
	}

	/**
	 * @see au.com.handsunited.model.ContactInfo#setWorkPhone(java.lang.String)
	 */
	public void setWorkPhone(String workPhone) {
		this.workPhone = workPhone;
	}

	/**
	 * @see au.com.handsunited.model.ContactInfo#getAddress()
	 */
	public Address getAddress() {
		if (address == null) {
			address = new Address();
		}
		return address;
	}

	/**
	 * @see au.com.handsunited.model.ContactInfo#setAddress(au.com.handsunited.model.Address)
	 */
	public void setAddress(Address address) {
		this.address = address;
	}

}
